package com.elive.service;

import com.elive.common.ServerResponse;
import com.elive.pojo.Order;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

/**
 * Created by wuyin on 2018/4/16.
 */

public interface IOrderService {
    ServerResponse<PageInfo> getOrderListByHostId(int pageNum, int pageSize, Integer hostId);

    ServerResponse<PageInfo> getOrderListByRenderId(int pageNum,int pageSize, Integer renderId);

    ServerResponse<String> setOrder(Order order, String startTime, String endTime);
}
